***Canelo et al. JLC Replication Materials 3-10-25

**Full Multilevel Models (Body and Appendix E)

use "/Canelo et al. JLC Data 3-10-25.dta", replace

*Model 1

xtmixed vote_share_general scandal_candidate_all woman incumbent_appt cj_race qual_candidate primary_challenge prior_close_race_inc3 term district_system partisan_elect Squire_comb prior_close_race60 multimember_contest number_seats i.cycle || state_2:, nolog variance

*Model 2

xtmixed vote_share_general scandal_candidate_last woman incumbent_appt cj_race qual_candidate primary_challenge prior_close_race_inc3 term district_system partisan_elect Squire_comb prior_close_race60 multimember_contest number_seats i.cycle || state_2:, nolog variance

*Model 3

xtmixed vote_share_general scandal_articles_all woman incumbent_appt cj_race qual_candidate primary_challenge prior_close_race_inc3 term district_system partisan_elect Squire_comb prior_close_race60 multimember_contest number_seats i.cycle || state_2:, nolog variance

*Model 4

xtmixed vote_share_general scandal_articles_last woman incumbent_appt cj_race qual_candidate primary_challenge prior_close_race_inc3 term district_system partisan_elect Squire_comb prior_close_race60 multimember_contest number_seats i.cycle || state_2:, nolog variance


**Appendix C Models with with Statewide Election Variable

*Model 1

xtmixed vote_share_general scandal_candidate_all woman incumbent_appt cj_race qual_candidate primary_challenge prior_close_race_inc3 senate_sw_contestedavg term district_system partisan_elect Squire_comb prior_close_race60 multimember_contest number_seats i.cycle || state_2:, nolog variance

*Model 2

xtmixed vote_share_general scandal_candidate_last woman incumbent_appt cj_race qual_candidate primary_challenge prior_close_race_inc3 senate_sw_contestedavg term district_system partisan_elect Squire_comb prior_close_race60 multimember_contest number_seats i.cycle || state_2:, nolog variance

*Model 3

xtmixed vote_share_general scandal_articles_all woman incumbent_appt cj_race qual_candidate primary_challenge prior_close_race_inc3 senate_sw_contestedavg term district_system partisan_elect Squire_comb prior_close_race60 multimember_contest number_seats i.cycle || state_2:, nolog variance

*Model 4

xtmixed vote_share_general scandal_articles_last woman incumbent_appt cj_race qual_candidate primary_challenge prior_close_race_inc3 senate_sw_contestedavg term district_system partisan_elect Squire_comb prior_close_race60 multimember_contest number_seats i.cycle || state_2:, nolog variance


**Appendix D Details of Variables Used in Models 

sum vote_share_general scandal_candidate_all scandal_candidate_last scandal_articles_all scandal_articles_last woman incumbent_appt cj_race qual_candidate primary_challenge prior_close_race_inc3 senate_sw_contestedavg term district_system partisan_elect Squire_comb prior_close_race60 multimember_contest number_seats cycle

tab1 vote_share_general scandal_candidate_all scandal_candidate_last scandal_articles_all scandal_articles_last woman incumbent_appt cj_race qual_candidate primary_challenge prior_close_race_inc3 senate_sw_contestedavg term district_system partisan_elect Squire_comb prior_close_race60 multimember_contest number_seats cycle


**Appendix F Models with Partisan Election Interaction Variables

*Model 1 with Interaction

xtmixed vote_share_general scandal_candidate_all woman incumbent_appt cj_race qual_candidate primary_challenge prior_close_race_inc3 term district_system partisan_elect scandal_allXpartisan_elect Squire_comb prior_close_race60 multimember_contest number_seats i.cycle  || state_2:, nolog variance

*Model 2 with Interaction

xtmixed vote_share_general scandal_candidate_last woman incumbent_appt cj_race qual_candidate primary_challenge prior_close_race_inc3 term district_system partisan_elect scandal_lastXpartisan_elect Squire_comb prior_close_race60 multimember_contest number_seats i.cycle || state_2:, nolog variance

*Model 3 with Interaction Terms

xtmixed vote_share_general scandal_articles_all woman incumbent_appt cj_race qual_candidate primary_challenge prior_close_race_inc3 term district_system partisan_elect articlesXpartisan_elect Squire_comb prior_close_race60 multimember_contest number_seats i.cycle || state_2:, nolog variance

*Model 4 with Interaction Terms

xtmixed vote_share_general scandal_articles_last woman incumbent_appt cj_race qual_candidate primary_challenge prior_close_race_inc3 term district_system partisan_elect articleslastXpartisan_elect Squire_comb prior_close_race60 multimember_contest number_seats i.cycle || state_2:, nolog variance

